package org.zuel.lkq.service;

import org.zuel.lkq.domain.User;
import org.zuel.lkq.exception.BizException;
import org.zuel.lkq.param.auth.LoginParam;
import org.zuel.lkq.param.auth.RegisterParam;

public interface UserService {

    /**
     * 用户登录
     */
    Object login2(LoginParam model);

    /**
     * 登出
     */
    Object logout();

    /**
     * show me
     */
    Object showMe();

    /**
     * 用户注册
     */
    Object register(RegisterParam model) throws BizException;

    /**
     * 用户登录
     */
    Object login(LoginParam model) throws BizException;

    /**
     * 获取用户的菜单
     */
    Object getRouters(Integer userId);

}
